home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global firstMonthlyDay
- set y to the mouseH
- if the castNum of sprite 11 = the number of member "nob" then
- if (y > 191) and (y < 207) then
- cursor(4)
- if firstMonthlyDay > 1 then
- set firstMonthlyDay to firstMonthlyDay - 1
- resetMonthlyDays()
- end if
- else
- if (y > 500) and (y < 517) then
- cursor(4)
- if (firstMonthlyDay + 11) < count(stamp) then
- set firstMonthlyDay to firstMonthlyDay + 1
- resetMonthlyDays()
- end if
- else
- if (y > 207) and (y < 500) then
- if y > the locH of sprite 11 then
- if (firstMonthlyDay + 12) < count(stamp) then
- set firstMonthlyDay to firstMonthlyDay + 2
- resetMonthlyDays()
- else
- if (firstMonthlyDay + 11) < count(stamp) then
- set firstMonthlyDay to firstMonthlyDay + 1
- end if
- resetMonthlyDays()
- end if
- else
- if (firstMonthlyDay - 1) > 1 then
- set firstMonthlyDay to firstMonthlyDay - 2
- resetMonthlyDays()
- else
- if firstMonthlyDay > 1 then
- set firstMonthlyDay to firstMonthlyDay - 1
- end if
- resetMonthlyDays()
- end if
- end if
- end if
- end if
- end if
- end if
- cursor(0)
- end
-